<script type="text/javascript">
    $(document).ready(function() {
        $('#searchSchedule').tableFilter();
        $('#searchRoom').tableFilter();
    });
</script>

<table>
    <tr>
        <td style="vertical-align: text-top;">
            <table id='searchSchedule' class="update">
                <thead>
                    <tr>
                        <th>Search a show</th>
                    </tr>
                </thead>
                <tbody>
                    <?php foreach ($this->shows as $show) { ?>
                        <tr>
                            <td>
                                <h1><?php echo $show["Title"]; ?></h1>
                                Room : <?php echo $show["Room_ID"]; ?>
                                <br /> Date : <?php echo date("m-d-Y \a\\t g\:i a",strtotime($show["Date"])); ?>
                                <br /><a href="<?php echo $this->baseUrl; ?>/Administration/schedule/dls/<?php echo $show["ShowingAt_ID"]; ?>">Delete</a>
                                <hr />
                            </td>
                        </tr>
                    <?php } ?>
                </tbody>
            </table>
        </td>
        <td  style="vertical-align: text-top;">

            <table id='searchRoom' class="update">
                <thead>
                    <tr>
                        <th>Search a room</th>
                    </tr>
                </thead>
                <tbody>
                   <?php foreach ($this->rooms as $room) { ?>
                        <tr>
                            <td>
                                <h1><?php echo $room["Room_ID"]; ?></h1>
                               <a href="<?php echo $this->baseUrl; ?>/Administration/schedule/dlr/<?php echo $room["Room_ID"]; ?>">Delete</a> 
                                <hr />
                            </td>
                        </tr>
                    <?php } ?>
                </tbody>
            </table>

        </td>
    </tr>
</table>




